﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="Admin_Pages_login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Logon admin panel</title>
    <style type="text/css">
        /*Login*/
        .left_top {
            background-image: url(../Images/xpwindowleft.jpg);
            width: 13px;
            background-repeat: no-repeat;
            height: 30px;
        }

        .right_top {
            background-position: right 50%;
            background-image: url(../Images/xpwindowright.jpg);
            width: 13px;
            background-repeat: no-repeat;
            height: 30px;
        }

        .top_bg {
            text-align: left;
            font-weight: bold;
            font-size: 13px;
            background-image: url(../Images/xpwindowbg.jpg);
            height: 30px;
            color: #ffffff;
            background-repeat: repeat-x;
            font-family: verdana;
        }

        .top_bg2 {
            font-weight: bold;
            padding-left: 150px;
            font-size: 13px;
            background-image: url(../Images/top.jpg);
            background-repeat: no-repeat;
            border-left: #001eed 1px solid;
            border-right: #001eed 1px solid;
            width: auto;
            height: 70px;
            color: #ff3300;
            font-family: verdana;
        }

        .bottom_login {
            border-left: #001eed 1px solid;
            border-right: #001eed 1px solid;
            border-bottom: #001eed 1px solid;
            height: 1px;
        }

        .logname {
            font-size: 11px;
            font-weight: bold;
            color: #0b1985;
            font-family: verdana;
        }

        .txtbox {
            border-right: #0b1985 1px solid;
            border-top: #0b1985 1px solid;
            text-align: left;
            border-left: #0b1985 1px solid;
            width: 250px;
            color: #1c2874;
            border-bottom: #0b1985 1px solid;
            height: 19px;
        }

        .selectbox {
            border-right: #3854a1 1px solid;
            border-top: #3854a1 1px solid;
            border-left: #3854a1 1px solid;
            border-bottom: #3854a1 1px solid;
            font-family: verdana;
            font-size: 12px;
            padding-left: 10px;
            height: 19px;
            text-align: left;
        }

        .bg_main {
            border-right: #001eed 1px solid;
            background: url(../Images/bg_login.jpg) repeat-x center bottom;
            padding-bottom: 10px;
            border-left: #001eed 1px solid;
            padding-top: 10px;
        }

        .txt3 {
            font-size: 10px;
            color: #0b1985;
            font-family: verdana;
            text-align: justify;
        }

        .error {
            color: Red;
            font-size: 12px;
            text-align: center;
        }

        .buttom_image {
            font-size: 12px;
            font-weight: bold;
            width: 100px;
        }
    </style>
    <meta charset="utf-8" />
    <meta content="width=device-width, initial-scale=1.0" name="viewport" />
    <meta content="Admin management" name="description" />
    <meta content="Đất việt online" name="author" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
    <form id="form1" runat="server">
        <div id="login">
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <table width="410" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                    <td>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td width="13" class="left_top">&nbsp;</td>
                                <td valign="middle" class="top_bg">Log On Admin Panel</td>
                                <td width="13" class="right_top">&nbsp;</td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td class="top_bg2">Control Panel Login</td>
                </tr>
                <tr>
                    <td class="bg_main" align="center">
                        <table width="94%" border="0" cellspacing="0" cellpadding="3">
                            <tr>
                                <td width="29%" class="logname">User Name : </td>
                                <td width="71%" align="left">
                                    <asp:TextBox ID="txtUserName" runat="server" Width="200px" placeholder="User Name" CssClass="text"></asp:TextBox><asp:RequiredFieldValidator ID="rfvUsername" runat="server" ControlToValidate="txtUsername" Display="Dynamic" ErrorMessage="(*)" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="logname">Password : </td>
                                <td align="left">
                                    <asp:TextBox ID="txtPassword" runat="server" Width="200px" TextMode="Password" placeholder="Password"></asp:TextBox><asp:RequiredFieldValidator ID="rfvPassword" runat="server" ControlToValidate="txtPassword" Display="Dynamic" ErrorMessage="(*)" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td></td>
                                <td align="left">
                                    <asp:CheckBox runat="server" ID="chkRememberMe" Text="Remember Me" CssClass="logname" />
                                </td>
                            </tr>
                            <tr>
                                <td class="error" colspan="2"><asp:Label runat="server" ID="lblErr"/></td>
                            </tr>

                            <tr>
                                <td class="logname"></td>
                                <td align="left">
                                    <div class="input">
                                        <asp:Button runat="server" ID="btnLogin" Text="Login" ToolTip="Login" 
                                            onclick="btnLogin_Click1"/>&nbsp;
            <asp:Button runat="server" ID="btnCancel" Text="Cancel" ToolTip="Cancel" onclick="btnCancel_Click" />
                                    </div>
                                </td>


                            </tr>
                            <tr>
                                <td colspan="2" height="2px">
                                    <img src="../Images/blank.gif" alt="blank" /></td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td class="bottom_login" style="background: #7cbcfa" height="25px">&nbsp;</td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
